<div class="similarNews">
	<div class="bl-zag bl-zag-bg-none">
		<h2>Похожие новости</h2>
	</div>
	<div class="itemsConteiner">
		<div class="itemsWrap" >
			<?php foreach ($data as $key => $value) : ?>
			<?php 
			$name = isset($value->ln->name) ? $value->ln->name : $value->name;
			$anons = isset($value->ln->anons) ? $value->ln->anons : $value->anons;
			?>
			<div class="itemWrap d_t">
				<div class="itemWrap-img fl_l">
					<a href="<?php echo Yii::app()->createUrl('content/item', array('category'=>$value->category->alias, 'item'=>$value->alias));?>" class="d_b">
						<?php echo BaseController::material_image(0, $value->file, '100'); ?>
					</a>
				</div>
				<div class="itemWrap-content">
					<span><?php echo Yii::app()->dateFormatter->formatDateTime($value->crdate, 'long', null);?></span>
					<a href="<?php echo Yii::app()->createUrl('content/item', array('category'=>$value->category->alias, 'item'=>$value->alias));?>"><?php echo $name;?></a>
				</div>
			</div>
			<?php endforeach;?>
		</div>
	</div>
</div>